<!DOCTYPE html>
<html data-dpr="" style="">
<head>
<meta charset="utf-8">
<base target="_self">
<title>{$info['nickname']}</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<!--允许全屏-->
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="telephone=no,email=no" name="format-detection">
<!-- rem控制 -->
<script type="text/javascript">
    !function(a,b){function c(){var b=f.getBoundingClientRect().width;b/i>640&&(b=640*i);var c=b/10;f.style.fontSize=c+"px",k.rem=a.rem=c}var d,e=a.document,f=e.documentElement,g=e.querySelector('meta[name="viewport"]'),h=e.querySelector('meta[name="flexible"]'),i=0,j=0,k=b.flexible||(b.flexible={});if(g){console.warn("将根据已有的meta标签来设置缩放比例");var l=g.getAttribute("content").match(/initial\-scale=([\d\.]+)/);l&&(j=parseFloat(l[1]),i=parseInt(1/j))}else if(h){var m=h.getAttribute("content");if(m){var n=m.match(/initial\-dpr=([\d\.]+)/),o=m.match(/maximum\-dpr=([\d\.]+)/);n&&(i=parseFloat(n[1]),j=parseFloat((1/i).toFixed(2))),o&&(i=parseFloat(o[1]),j=parseFloat((1/i).toFixed(2)))}}if(!i&&!j){var p=(a.navigator.appVersion.match(/android/gi),a.navigator.appVersion.match(/iphone/gi)),q=a.devicePixelRatio;i=p?q>=3&&(!i||i>=3)?3:q>=2&&(!i||i>=2)?2:1:1,j=1/i}if(f.setAttribute("data-dpr",i),!g)if(g=e.createElement("meta"),g.setAttribute("name","viewport"),g.setAttribute("content","initial-scale="+j+", maximum-scale="+j+", minimum-scale="+j+", user-scalable=no"),f.firstElementChild)f.firstElementChild.appendChild(g);else{var r=e.createElement("div");r.appendChild(g),e.write(r.innerHTML)}a.addEventListener("resize",function(){clearTimeout(d),d=setTimeout(c,300)},!1),a.addEventListener("pageshow",function(a){a.persisted&&(clearTimeout(d),d=setTimeout(c,300))},!1),"complete"===e.readyState?e.body.style.fontSize=12*i+"px":e.addEventListener("DOMContentLoaded",function(){e.body.style.fontSize=12*i+"px"},!1),c(),k.dpr=a.dpr=i,k.refreshRem=c,k.rem2px=function(a){var b=parseFloat(a)*this.rem;return"string"==typeof a&&a.match(/rem$/)&&(b+="px"),b},k.px2rem=function(a){var b=parseFloat(a)/this.rem;return"string"==typeof a&&a.match(/px$/)&&(b+="rem"),b}}(window,window.lib||(window.lib={}));


    !function(){var a="@charset utf-8;html{color:#000;background:#fff;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html *{outline:0;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}html,body{font-family:sans-serif}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0}input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}abbr,acronym{border:0;font-variant:normal}del{text-decoration:line-through}address,caption,cite,code,dfn,em,th,var{font-style:normal;font-weight:500}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500}q:before,q:after{content:''}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}a:hover{text-decoration:underline}ins,a{text-decoration:none}",b=document.createElement("style");if(document.getElementsByTagName("head")[0].appendChild(b),b.styleSheet)b.styleSheet.disabled||(b.styleSheet.cssText=a);else try{b.innerHTML=a}catch(c){b.innerText=a}}();
</script>
<link href='__CSS__/card.css?v=2.0.4&t=14725558' rel='stylesheet' type='text/css' />
</head>
<body>

<!-- main -->
<div class="wrap">
    <div class="card">
        <div class="info">
            <div class="info-l">
                <div class="name">{$info['name']}
                	<if condition="$info['nickname']">
                	<span class="pet">（{$info['nickname']}）</span>
                </if>
                </div>
                <div class="job">{$info['position']}</div>
            </div>
            <div class="info-r">
            		<if condition="$info['head_img']">
                <img src="{$info['head_img']|get_cover='path'}" alt="" />
                <else/>
                <img src="__IMG__/noimg.png" alt="" />
                </if>
            </div>
        </div>
        <div class="company">
            {$info['company']}
        </div>
    </div>
    <ul class="list">
        <if condition="$info['weixin']">
        <li>
            <span class="tit">微&emsp;&emsp;信：</span>
            <span class="con">{$info['weixin']}</span>
            <if condition="$info['wx_image']">
                <script src="http://cdn.bootcss.com/layer/3.0.1/mobile/layer.min.js"></script>
                <link href="http://cdn.bootcss.com/layer/3.0.1/mobile/need/layer.min.css" type="text/css" rel="stylesheet">
                <a class="btn" id="addThis">+加好友</a>
                <style type="text/css">
                    .layui-m-layerbtn{
                        height: 1.5rem;
                    }
                    .layui-m-layerbtn span{
                        line-height: 1.5rem;
                        color: #f9b700 !important;
                        font-size: 0.5rem;
                    }
                </style>
                <script>
                    document.getElementById("addThis").addEventListener("click", function() { 
                        var pageii = layer.open({
                          type: 1,
                          scrollbar: false,
                          content: '<img src="{$info['wx_image']|get_cover='path'}" style="width: 100%;height: 100%;margin-top: 20%;" />',
                          anim: 'up',
                          /*shadeClose: true,*/
                          btn: '返回(长按二维码识别)',
                          style: 'position:fixed; left:0; top:0;background-color: transparent; width:100%; height:100%; border: none; -webkit-animation-duration: .5s; animation-duration: .5s;'
                        });
                    });
                </script>
            </if>
        </li>
        </if>
        <if condition="$info['moblie_phone']">
        <li>
            <span class="tit">移动电话：</span>
            <span class="con"><a href="tel:{$info['moblie_phone']}" >{$info['moblie_phone']}</a></span>
        </li>
        </if>
        <if condition="$info['email']">
        <li>
            <span class="tit">电子邮箱：</span>
            <span class="con"><a href="mailto:{$info['email']}">{$info['email']}</a></span>
        </li>
        </if>
        <if condition="$info['homepage_url']">
        <li>
            <span class="tit">主页网址：</span>
            <span class="con"><a href="{$info['homepage_url']|check_url}">{$info['homepage_url']|check_url}</a></span>
        </li>
        </if>
        <if condition="$info['address']">
        <li>
            <style>
                @-webkit-keyframes up_down {
                    0% {
                        -webkit-transform: translateY(0px);
                    }
                    50% {
                        -webkit-transform: translateY(.5em);
                    }
                    100% {
                        -webkit-transform: translateY(0px);
                    }
                }
                @-moz-keyframes up_down {
                    0% {
                        -moz-transform: translateY(0px);
                    }
                    50% {
                        -moz-transform: translateY(.5em);
                    }
                    100% {
                        -moz-transform: translateY(0px);
                    }
                }
                @-ms-keyframes up_down {
                    0% {
                        -ms-transform: translateY(0px);
                    }
                    50% {
                        -ms-transform: translateY(.5em);
                    }
                    100% {
                        -ms-transform: translateY(0px);
                    }
                }
                @keyframes up_down {
                    0% {
                        transform: translateY(0px);
                    }
                    50% {
                        transform: translateY(.5em);
                    }
                    100% {
                        transform: translateY(0px);
                    }
                }
            </style>
            <span class="tit">地&emsp;&emsp;址：</span>
            <!-- 腾讯地图 -->
            <!-- <span class="con"><a href="http://map.qq.com/m/place/info/uid=14034350793196732962&word={$info['address']}&type=point" target="_blank">{$info['address']}</a></span> -->
            <!-- 百度地图 -->
            <!-- <span class="con"><a href="http://map.baidu.com/mobile/webapp/search/search/qt=s&wd={$info['address']}/vt=map" target="_blank">{$info['address']}</a></span> -->
            <!--a href="geopoint:[经度],[纬度]" class="map btn">地图</a-->
            <!-- 高德地图 -->
            <span class="con"><a href="http://m.amap.com/search/mapview/keywords={$info['address']}" target="_blank"><img style="width: 1.1em;height: auto;margin-top: -0.3rem;
            -webkit-animation: up_down 1000ms linear infinite;
            -moz-animation: up_down 1000ms linear infinite;
            -ms-animation: up_down 1000ms linear infinite;
            animation: up_down 1000ms linear infinite;" src="" />&nbsp;&nbsp;{$info['address']}</a></span>
        </li>
        <if condition="$info['telephone']">
        <li>
            <span class="tit">固定电话：</span>
            <span class="con"><a href="tel:{$info['telephone']}">{$info['telephone']}</a></span>
        </li>
        </if>
        <if condition="$info['weibo']">
        <li>
            <span class="tit">微&emsp;&emsp;博：</span>
            <span class="con"><a href="{$info['weibo']|check_url}">{$info['weibo']|check_url}</a></span>
        </li>
        </if>
        <if condition="$info['qq']">
        <li>
            <span class="tit">Q&nbsp;&nbsp;&emsp;&emsp;Q：</span>
            <span class="con"><a href="tencent://message/?uin={$info['qq']}&Site=www.wttai.com&Menu=yes">{$info['qq']}</a></span>
        </li>
        </if>
        <if condition="$info['intro']">
        <li>
            <span class="tit">个人说明：</span>
            <span class="con">{$info['intro']}</span>
        </li>
        </if>
        <style>
            .fixedThis:after{
                height: 0 !important;
                background-color: #fff !important;
            }
        </style>
        <li style="margin-bottom: 1rem;">
            <span class="server">技术支持：<strong>梧桐珆</strong></span>
        </li>
        <li class="fixedThis" style="position: fixed;bottom: -0.46875rem;padding: 0.46875rem 0;">
            <a href="/qrvcf/{$info['id']}" class="save" id="save">保存到通讯录</a>
        </li>
    </ul>
</div>
</body>
</html>
